<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>  
    <title>show log page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link type="text/css" rel="stylesheet" href="css/showLogBody.css">
  </head>
  
  <body>
  
<h2 id="logBody">日志明细</h2>
	<!-- 如果数据为空，显示无;有数据正常显示  -->
	<c:choose>
		<c:when test="${empty LogBodyList}">
			<h5 algin="center">无</h5>
		</c:when>
		<c:otherwise>
		<c:forEach items="${LogBodyList}" var="info" varStatus="vs" > 
				<pre class="logBodyInfo">${vs.count}  ${info[0]}<code name="message">${info[1]}${info[2]}${info[3]}${info[4]}${info[5]}</code><code>${info[6]}</code></pre>			
    	</c:forEach> 
		</c:otherwise>
	</c:choose>
     <script type="text/javascript" src="js/showLogbody.js"></script>         
  </body>
</html>
